from numpy import *

import mnist_loader

training_data, validation_data, test_data = mnist_loader.load_data_wrapper()
import NN

# import network
#
# network = network.Network([784, 30, 10])
# network.SGD(training_data, 5, 10, 3.0, test_data=test_data)

# print type(training_data[0][0]), shape(training_data[0][0]), shape(training_data[0][1])
network = NN.Network([784, 100, 10])
network.SGD(training_data, 30, 10, 3.0, test_set=test_data)
# print shape(network.Thetas[0]), shape(network.Thetas[1])
# print type(network.Thetas), type(network.Thetas[0])
# network.S
